package io.renren.modules.sys.dao;

import com.baomidou.mybatisplus.plugins.Page;
import io.renren.modules.sys.entity.PurchaseEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import io.renren.modules.sys.vo.OrderVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 进货
 * 
 * @author generator
 * @email 707069921@qq.com
 * @date 2018-10-28 12:52:39
 */
public interface PurchaseDao extends BaseMapper<PurchaseEntity> {

    PurchaseEntity findLatelyByProductId(@Param("productId") Long productId);

    List<PurchaseEntity> selectList(Page<PurchaseEntity> page, Map<String, Object> params);


}
